﻿using Basic.FlowRemoteModel;

namespace Basic.FlowApplication.Model.AuditItem
{
    public class AuditLogItemDto
    {
        public long Id
        {
            get;
            set;
        }

        public long BatchNo
        {
            get;
            set;
        }
        public long NodeId { get; set; }

        public long FormId { get; set; }

        public FlowNodeType NodeType { get; set; }


        public long EmpId { get; set; }

        /// <summary>
        /// 流程项最终审核状态
        /// </summary>
        public FlowAuditItemStatus Status { get; set; }

        /// <summary>
        /// 用户审核状态
        /// </summary>
        public FlowAuditItemStatus AuditState { get; set; }

        /// <summary>
        /// 子流程审核状态
        /// </summary>
        public FlowSubAuditStatus SubFlowState { get; set; }

        public FlowItemMarkState MarkState { get; set; }
        public DateTime? EndTime { get; set; }
        public string AuditOpinion { get; set; }

        public long RootNodeId { get; set; }

        public long? PrtBatchNo { get; set; }

        /// <summary>
        /// 根批次号指子节点的开始节点或开始节点的批次号
        /// </summary>
        public long RootBatchNo { get; set; }

        public long OptItemId { get; set; }

        /// <summary>
        /// 启动时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
